import hashlib
import redis

def md5(s):
    s = str(s)
    m = hashlib.md5(s.encode())
    return m.hexdigest()

def get_redis():
    return  redis.Redis(host="118.24.3.40",password="HK139bc&*",decode_responses=True)